package top.lyjwn.todo.aop.permission;

import top.lyjwn.todo.aop.permission.model.PermissionInfo;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class PermissionPool  {

    private Map<String,PermissionInfo> urlPool = new ConcurrentHashMap<String,PermissionInfo>();

    private Map<String,PermissionInfo> codePool = new ConcurrentHashMap<String,PermissionInfo>();


    public Map<String, PermissionInfo> getUrlPool() {
        return urlPool;
    }

    public void setUrlPool(Map<String, PermissionInfo> urlPool) {
        this.urlPool = urlPool;
    }

    public Map<String, PermissionInfo> getCodePool() {
        return codePool;
    }

    public void setCodePool(Map<String, PermissionInfo> codePool) {
        this.codePool = codePool;
    }
}
